//#include "point.h"
#include "tableau.h"
#include <iostream>
int main()
{
	////////////////////exercice Point//////////////////
	/*Point P;
	Point P2(3,4);
	//long i=5;
	Point R;
	//cout<<P<<endl;
	cin>>P;
	cout<<P<<endl;
	*/
	//R=i+P;
	//R.afficher();
	//R=P2-P;
	//R.afficher();
	
	/*if(P==P2)
	{
	cout<<" égaux ...\n";
	}
	 else cout<<"fauxxxxx\n";
	 */
	 ///////////////////////////////////exercice tableau///////////////////
	 Tableau T1,T2;
	 Tableau T;
	 T1.ajouter_fin(5);
	 T1.ajouter_fin(6);
	 T1.ajouter_fin(7);
	 T2.ajouter_fin(55);
	 T2.ajouter_fin(60);
	 T2.ajouter_fin(70);
	 //T1=T2;
	//cout<<"gfhgh"<<endl;
	 
	 cout<<T1;
	 cout<<T2;
	 T=T1+T2;
	 
	 cout<<T;
        //cout<<"gfhgh"<<endl;
	 //cout<<T.getNb()<<endl;
	// for(unsigned int i=0;i<T.getNb();i++)
	// {
	 //	cout<<T[i]<<endl; 	
	// }
	/* for(unsigned int i=0;i<T1.getNb();i++)
	 {
	 	cout<<T1[i]<<endl;
	 	T1[i]=i*2;
	 }
	 */
	 
	 
	
return 0;
}
